<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>企业信息</title>
<base th:href="@{/}">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="static/theme/index.css">
<link rel="stylesheet" href="static/css/myStyle.css" />
<link rel="stylesheet" href="static/css/reset.css" />
</head>
<body>

	<div id="job">
		<template>
			<div class="header1">
				<el-menu id="nav-bar" :default-active="'/offer'" router
					class="el-menu-demo" mode="horizontal" background-color="white"
					text-color="#222" active-text-color="#409EFF"> <el-menu-item>
				<img src="static/img/logo.png" width="100px" /> </el-menu-item>
				<el-menu-item
					v-for="(item, index) in items2" :key="index" :index="item.index"
					:id="item.class">{{ item.title }}</el-menu-item> 
						<el-col
						id="login-side" :span="4"> <!-- Form -->
							<el-link href="http://localhost:8082/">返回首页</el-link>
					 </el-col>
				 </el-menu>

			</div>
		</template>
		<template>
			<el-container>
				<div class="center-div">
					<el-row style="height:160px">
						<el-col :span="24" style="height:118px;background-image:url(static/img/background/com_icon_bg.png)">
							<el-row >
								<h1 style="font-size:30px;font-weight:400" v-text="jobDetails.jobname"></h1>
								
							</el-row>
							<el-row style="margin-top:30px;margin-buttom:10px;color:grey">发布时间：{{ jobDetails.jptime }}</el-row>
							<el-row style="margin-top:40px;margin-buttom:40px;">
								<el-col :span="15">
									<el-breadcrumb separator-class="el-icon-arrow-right">
									  <el-breadcrumb-item>{{ jobDetails.jsalary }}</el-breadcrumb-item>
									  <el-breadcrumb-item>{{ jobDetails.jeducation }}</el-breadcrumb-item>
									  <el-breadcrumb-item>{{ jobDetails.jtime }}</el-breadcrumb-item>
									</el-breadcrumb>
								</el-col>
								<el-col :span="7" :offset="15" style="margin-top:-100px;">
									<el-col :span="5" style="text-align:center;height:39.6px;padding-top:10px">
										<i  class="el-icon-star-off"></i>
									</el-col>
									<el-col :span="19">
										<el-upload
										  class="upload-demo"
										  action="https://jsonplaceholder.typicode.com/posts/"
										    :http-request="uploadUserRe"
									
										  :file-list="fileList">
										  <el-button size="small" type="primary">投个简历</el-button>
										  <div slot="tip" class="el-upload__tip">只能上传doc文件</div>
										</el-upload>
										<el-button @click="submit1" type="text">点击上传</el-button>
										<el-link href="/usert/downloadresume">下载模板简历</el-link>
									</el-col>
								</el-col>
							</el-row>
						</el-col>
					</el-row>
					<el-divider style="margin-top:20px"></el-divider>
					<el-row style="font-size:16px;color:#666666;font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;">
						<pre>{{ jobDetails.jobdetails }}</pre>
					</el-row>
				</div>
			</el-container>
		</template>
	</div>
	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	<script src="https://unpkg.com/element-ui/lib/index.js"></script>
	<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

	<script src="static/js/job.js"></script>
</body>
</html>